]> dgit.raspbian.org Git - gnome-shell.git/commit
shell-util: Use early-return in shell_util_get_week_start()
authorTerraAr <carames@ufpr.br>
Fri, 18 Dec 2020 17:54:04 +0000 (17:54 +0000)
committerMarge Bot <marge-bot@gnome.org>
Sun, 7 Feb 2021 14:46:27 +0000 (14:46 +0000)
commitd75b64b88f348c43c52cc7a94b70cfedc2154852
tree9e9ad4951a1dd0add0682f9ca93c8530677f6e4e
parentb90e270dc660bb3ae569f55f87173bd9cc7bd42b
shell-util: Use early-return in shell_util_get_week_start()

Cleanup shell_util_get_week_start() a little bit and use an early-return
instead of setting the week_start variable to 0.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1546>
src/shell-util.c